package com.example.figurehecheng.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.List;

@Data
@ApiModel(value="景点详情VO", description="景点详情返回对象")
public class SceneryVO {
    
    @ApiModelProperty(value = "景点ID")
    private Long id;
    
    @ApiModelProperty(value = "景点名称")
    private String name;
    
    @ApiModelProperty(value = "景点特色描述")
    private String feature;
    
    @ApiModelProperty(value = "历史背景")
    private String historyBackground;
    
    @ApiModelProperty(value = "价格(分)")
    private Integer price;
    
    @ApiModelProperty(value = "折扣价(分)")
    private Integer discount;
    
    @ApiModelProperty(value = "地址")
    private String address;
    
    @ApiModelProperty(value = "开放时间")
    @JsonFormat(pattern = "HH:mm")
    private LocalTime openTime;
    
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "HH:mm")
    private LocalTime endTime;
    
    @ApiModelProperty(value = "景点类型(1:文化景点 2:自然景点)")
    private Integer tourType;
    
    @ApiModelProperty(value = "剩余票数")
    private Integer number;
    
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;
    
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;
    
    @ApiModelProperty(value = "状态(0:下架 1:上架)")
    private Integer status;
    
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "图片URL列表")
    private List<String> images;

    @ApiModelProperty(value = "封面图片")
    private String coverImage;

    @ApiModelProperty(value = "距离当前位置的距离(公里)")
    private Double distance;
} 